package com.sxkawzp.enums;

import com.sxkawzp.consts.DataScopeConst;

/**
 * @author suxingkang
 * @version 1.0
 * @since 2025/1/17 15:14
 */
public enum Compare {

    /**
     * 等值比较
     */
    EQUALS(DataScopeConst.EQUALS_VAL),
    /**
     * 不等于
     */
    NO_EQUALS(DataScopeConst.NO_EQUALS_VAL),
    /**
     * 模糊查询
     */
    LIKE(DataScopeConst.LIKE_VAL),

    IN(DataScopeConst.IN_VAL),
    ;


    private final int code;

    Compare(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
